@extends('wap.layouts.master')
@section('title','我的赛程')

@section('content')

<div class="aw-main aw-user aw-user-schedule">
	<!--列表-开始-->
	<ul class="aw-assest-list">
		<li class="aw-bg-fff aw-list-li" v-for="(list,key) in list_page">
			<div class="aw-li-title aw-index-title">
				<div class="aw-title-left">@{{list.day}}&nbsp;&nbsp;@{{list.team_time}}</div>
				<div class="aw-title-right">@{{list.address.storefront_name}}<span>｜</span>@{{list.address.type_text}} (@{{list.address.number}}号)</div>
			</div>
			<div class="aw-li-desc" v-if="list.order_type!=3">
				<div class="aw-li-desc-zhandui">
					<div class="aw-desc-zhandui-img"><img :src="list.team_info.master.img ? list.team_info.master.img : '/img/default_160_160.png'" onerror="javascript:this.src='/img/default_160_160.png';"></div>
					<p>@{{list.team_info.master.name}}</p>
				</div>
				<div class="aw-li-desc-zhandui aw-pl30 aw-pr0">
					<div class="aw-desc-zhandui-img"><img :src="list.team_info.slave.img ? list.team_info.slave.img : '/img/default_160_160.png'" onerror="javascript:this.src='/img/default_160_160.png';"></div>
					<p>@{{list.team_info.slave.name}}</p>
				</div>
				<p class="aw-color-FF5450 aw-li-desc-vs">VS</p>
			</div>
		</li>
	</ul>
	<vue-loding :info_page="info_page"></vue-loding>
	<!--列表-结束-->
</div>

@section('pagejs')
@parent

<script type="text/javascript" src="/wap/js/vue-loding.js"></script>
<script type="text/javascript">
var MJS_URLArry=URLArry;
var Vue_Data={
	list_page:{},
	info_page:{page:1,count:0,tips:'赛程'},
	form:{type:5},
}
//我的球队列表
var AD_list_page={
	api:'/api/order/order-list',
	form_data:Vue_Data.form,
	tips:false,
}
//获取分页列表-全局通用
Get_Refresh_Page_List()
vm=new Vue({
	el:'#Vue-body',
	data:Vue_Data,
	components:{
		'vue-loding':V_Assest_loding,
	},methods:{
		Get_List_Data:function(push){
			//更新数据
			$.extend(AD_list_page.form_data,this.form);
			Get_Refresh_Page_List(push)
		}
	}
})
</script>
@endsection

@endsection

